package com.xbongbong.pro.invoice.pojo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * 发票编辑时 新增 或 删除关联关系 pojo
 *
 * @author yuqian
 * @version v1.0
 * @date 2019/11/18 14:02
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class InvoiceRelationshipEditPojo implements Serializable {
    private static final long serialVersionUID = -7882557035960370408L;
    /**
     * 老的应收款id集合
     */
    List<Long> oldPaymentIdList;

    /**
     * 老的合同id集合
     */
    List<Long> oldContractIdList;
    /**
     * 老的回款单id集合
     */
    List<Long> oldPaymentSheetIdList;
    /**
     * 新的应收款id集合
     */
    List<Long> paymentIdList;
    /**
     * 新的合同id集合
     */
    List<Long> contractIdList;
    /**
     * 新的回款单id集合
     */
    List<Long> paymentSheetIdList;


    /**
     * 老的付款计划id集合
     */
    List<Long> oldPayPlanIdList;

    /**
     * 老的合同id集合
     */
    List<Long> oldPurchaseIdList;
    /**
     * 老的回款单id集合
     */
    List<Long> oldPaySheetIdList;
    /**
     * 新的付款计划id集合
     */
    List<Long> payPlanIdList;
    /**
     * 新的合同id集合
     */
    List<Long> purchaseIdList;
    /**
     * 新的回款单id集合
     */
    List<Long> paySheetIdList;

    public InvoiceRelationshipEditPojo() {
    }

    public InvoiceRelationshipEditPojo(List<Long> oldPaymentIdList, List<Long> oldContractIdList, List<Long> oldPaymentSheetIdList, List<Long> paymentIdList, List<Long> contractIdList, List<Long> paymentSheetIdList) {
        this.oldPaymentIdList = oldPaymentIdList;
        this.oldContractIdList = oldContractIdList;
        this.oldPaymentSheetIdList = oldPaymentSheetIdList;
        this.paymentIdList = paymentIdList;
        this.contractIdList = contractIdList;
        this.paymentSheetIdList = paymentSheetIdList;
    }

    public InvoiceRelationshipEditPojo(List<Long> oldPaymentIdList, List<Long> oldContractIdList, List<Long> oldPaymentSheetIdList, List<Long> paymentIdList, List<Long> contractIdList, List<Long> paymentSheetIdList, List<Long> oldPayPlanIdList, List<Long> oldPurchaseIdList, List<Long> oldPaySheetIdList, List<Long> payPlanIdList, List<Long> purchaseIdList, List<Long> paySheetIdList) {
        this.oldPaymentIdList = oldPaymentIdList;
        this.oldContractIdList = oldContractIdList;
        this.oldPaymentSheetIdList = oldPaymentSheetIdList;
        this.paymentIdList = paymentIdList;
        this.contractIdList = contractIdList;
        this.paymentSheetIdList = paymentSheetIdList;
        this.oldPayPlanIdList = oldPayPlanIdList;
        this.oldPurchaseIdList = oldPurchaseIdList;
        this.oldPaySheetIdList = oldPaySheetIdList;
        this.payPlanIdList = payPlanIdList;
        this.purchaseIdList = purchaseIdList;
        this.paySheetIdList = paySheetIdList;
    }
}
